package com.eastseeway.radioproject.main;

import android.content.Context;
import android.util.Log;

import com.eastseeway.radioproject.base.BaseRepository;
import com.eastseeway.radioproject.base.Const;
import com.eastseeway.radioproject.entities.BaseResponse;
import com.eastseeway.radioproject.entities.BeanDeviceInfo;
import com.eastseeway.radioproject.entities.OperationParams;
import com.eastseeway.radioproject.entities.UserInfo;
import com.eastseeway.radioproject.retrofit.RetrofitClient;
import com.eastseeway.radioproject.utils.SPHelper;
import com.eastseeway.radioproject.utils.SaveHelper;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.lang.reflect.Type;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

import retrofit2.Callback;

public class MainRepository extends BaseRepository {

    void getDeviceInfo(String deviceid,Callback<BaseResponse<BeanDeviceInfo>> callback){
        RetrofitClient.getInstance().getServiceApi().checkDevice(deviceid).enqueue(callback);
    }




}
